Skip to content

[docs] Add a shared API overview - #364

Merged
antond-weta merged 3 commits into
AcademySoftwareFoundation:mainfrom
soswow:docs/api-overview
Oct 20, 2026
Merged

antond-weta merged 3 commits into
AcademySoftwareFoundation:mainfrom
soswow:docs/api-overview

Conversation

@soswow

@soswow soswow commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add src/docs/api/overview.rst as the programming entry point. It distinguishes file conversion, an OpenImageIO buffer pipeline, and metadata or spectral solving, and points to the existing examples and references.
  • Always document the OpenImageIO buffer methods, with a notice that Python requires OpenImageIO 3.2 or later and compatible nanobind registrations. A documentation build does not install or import OpenImageIO; Sphinx keeps mocking that import, and the page sources stay under src/docs rather than the unit tests.
  • Link the overview from the homepage, both language guides, Getting Started, the README, and the contributor build notes.

Test plan

  • python build_scripts/build_docs.py --repo-root . --output-dir site-preview completes with no Doxygen or Sphinx warnings.
  • The generated sidebar lists API Overview between Lens Correction and C++ API, with the buffer, file, metadata, and spectral sections.
  • Confirm the OpenImageIO 3.2 notice is the wording you want on the public page, including the note that the documentation build itself does not require OpenImageIO.

Assisted-by: Cursor / Grok 4.7

The overview was drafted from the public headers, bindings, and existing guides, then checked with a strict local documentation build.

Made with Cursor

@codecov-commenter

codecov-commenter commented Oct 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.04%. Comparing base (cd5ef40) to head (b04bcaa).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #364   +/-   ##
=======================================
  Coverage   92.04%   92.04%           
=======================================
  Files          17       17           
  Lines        3959     3959           
  Branches      591      591           
=======================================
  Hits         3644     3644           
  Misses        315      315           

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd5ef40...b04bcaa. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@soswow
soswow marked this pull request as ready for review October 19, 2026 05:05

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixes problem with tables
before:

Image

after:

Image

Comment thread src/docs/api/overview.rst

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has a potential of being a bit sloppy and over-verbose ... =\

soswow and others added 3 commits October 21, 2026 08:11
Give readers one page that chooses file conversion, the OpenImageIO buffer pipeline, or a metadata or spectral solve. Always describe the buffer API, with a notice that Python requires OpenImageIO 3.2, and keep the documentation build independent of OpenImageIO and the unit tests.

Assisted-by: Cursor / Grok 4.7
Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Clarify that the buffer methods are part of the documented API, emphasizing that calling them from Python requires an extension built against OpenImageIO 3.2 or later. Remove redundant explanations and ensure consistency across documentation files regarding the OpenImageIO dependency.

Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
sphinx_rtd_theme keeps every table cell on one line, so a long cell forces the page to scroll sideways. Wrap prose between words and keep each inline literal intact.

Assisted-by: Cursor / Grok 4.7
Signed-off-by: Aleksandr Motsjonov <soswow@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@antond-weta
antond-weta merged commit 752a1e2 into AcademySoftwareFoundation:main Oct 20, 2026
29 checks passed
@soswow
soswow deleted the docs/api-overview branch November 10, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants